package com.microservices.yucloud.api.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author zy
 * @date 2019-08-06 11:43
 **/
@Slf4j
@RestController
public class TestController {

    @GetMapping("/test1")
    public String test1(@RequestParam String key) {
        log.info("TEST API test1:{}",key);
        return "test1方法返回值:" + key;
    }

}
